#include <iostream>
using namespace std;

void print(const int *arr, size_t size) {
    cout << "[ ";
    for (size_t i = 0; i < size; i++) {
        cout << arr[i] << " ";
    }
    cout << "]" << endl;
}
void test() {
    int arr[] = { 0 ,1, 3};
    print(arr, 3);
    print(arr, end(arr) - begin(arr));
}
int main() {
    test();
    return 0;
}